{% extends "restaurant_manage/main.html" %}
{% block content %}
  {% if restaurant.username %}
    <p>Welcome {{ restaurant.username }}!
      This is order page!</p>
    <ul>
      <li>Your address</li>
      </br>
      <li>Your phone:{{restaurant.phone}}</li>    
    </ul>
    
    
    {% for c in categories %}
    <ul>
        <h3>{{c.name}}</h3>
        {% for i in c.get_menu_items %}
            <li>{{i.name}}</li>
        {% endfor %}
    </ul>
    {% endfor %}
    
  {% else %}
    <p>You are not a restaurant user.</p>
  {% endif %}
  <p>a</p>
  <p>a</p>
  <p>a</p>
  <p>a</p>
  <p>a</p>
  <p>a</p>
  <p>a</p>
{% endblock %}